package com.tianyadu.mmall.controller.async;

import lombok.Data;
import org.springframework.stereotype.Component;
import org.springframework.web.context.request.async.DeferredResult;

import java.util.HashMap;
import java.util.Map;

/**
 * 线程之间传递信息结果
 *
 * @author xueyj
 * @date 2019-09-29 14:16
 */
@Component
@Data
public class DeferredResultHolder {

    private Map<String, DeferredResult<String>> map = new HashMap<String, DeferredResult<String>>();
}